package mylibrary.nested.staticType;

public class BankAccount {

	private long number;
	private long balance;
	private static int c;

	public static class Permissions {
		
		public boolean canDeposit;
		public boolean canWithdraw;
		public boolean canClose;
		
		private void do1() {
			BankAccount bankc = new BankAccount();
//			if(bankc.getNumber() > 10) {
//				canDeposit = true;
//			}
			if(c > 10) {
				canClose = false;
			}
		}
	}
	
	public interface IPermissions{				//default 'static'
		
		void add();
		long decrease();
	}
}
